package practice04;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice04
 * @ClassName: Eagle
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/10 9:36
 * @Copyright 大牛版板所有
 */
public class Eagle extends Animal {
    private String breed;

    public Eagle() {
    }

    public Eagle(String name, int age, String breed) {
        super(name, age);
        this.breed = breed;
    }

    public String getBreed() {
        return breed;
    }

    public void setBreed(String breed) {
        this.breed = breed;
    }
    @Override
    public void eat(){
        System.out.println("吃鸡!");
    }

    public void jump(){
        System.out.println("跳向猎物！");
    }
}
